package com.aspose.cells;

class zcbk extends zcdb {
   private static final com.aspose.cells.b.c.a.za a = new com.aspose.cells.b.c.a.za(new String[]{"#DIV/0!", "#N/A", "#NAME?", "#NULL!", "#NUM!", "#REF!", "#VALUE!"});

   zcbk() {
      this.d = 174;
   }

   void a(CustomFilter var1) throws Exception {
      byte var2 = 10;
      boolean var3 = false;
      byte var4 = zcee.w(var1.getFilterOperatorType());
      Object var5 = var1.getCriteria();
      if (var5 != null) {
         switch(zamo.a(var5.getClass())) {
         case 3:
            this.c = new byte[var2];
            this.c[0] = 8;
            if ((Boolean)var5) {
               this.c[2] = 1;
            }
            break;
         case 9:
         case 14:
            this.c = new byte[var2];
            this.c[0] = 4;
            System.arraycopy(com.aspose.cells.b.a.zc.a((Double)var5), 0, this.c, 2, 8);
            break;
         case 18:
            String var6 = (String)var5;
            int var7 = var2 + var6.length() * 2 + 4;
            this.c = new byte[var7];
            this.c[0] = 6;
            byte var8 = 10;
            zcch.a(this.c, var8, var6);
            break;
         default:
            this.c = new byte[var2];
         }

         this.c[1] = var4;
      } else {
         this.c = new byte[var2];
      }

   }
}
